package org.smile.service;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class DefaultServiceContext implements ServiceContext{
    private Map<String,Service> services=new ConcurrentHashMap<>();

    @Override
    public void onServiceRegister(Service service) {
        services.put(service.getName(),service);
    }

    @Override
    public void onScanEnd(ServiceScanner scanner) {

    }
}
